package com.smalls.newvideotwo.util;

import android.app.Instrumentation;
import android.content.Intent;
import com.smalls.newvideotwo.NewDTVApp;

/**
 * @author thearyong
 * @date 2017/3/31
 */

public class GlobalUtils {

    public static void startActivity(Class<?> cls) {
        Intent intent = new Intent(NewDTVApp.getApp(), cls);
        intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
        NewDTVApp.getApp().startActivity(intent);
    }
}
